<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>数据网格页脚 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Footer Rows in DataGrid">数据网格页脚</h2>
	<p title="The summary informations can be displayed in footer rows.">　　页脚可用来显示摘要信息。</p>
	<div style="margin:20px 0;"></div>
	<table class="easyui-datagrid" title="<c>页脚</c>" style="width:700px;height:330px"
			data-options="
				url: 'datagrid_data2.json',
				method: 'get',
				fitColumns: true,
				singleSelect: true,
				rownumbers: true,
				showFooter: true
			">
		<thead>
			<tr>
				<th data-options="field:'itemid',halign:'center'"><h title='Item ID'>物料编码</h></th>
				<th data-options="field:'productInfo',halign:'center'"><h title='Product Info'>所属品名</h></th>
				<th data-options="field:'listprice',width:80,align:'right',halign:'center'"><h title='List Price'>清单价格</h></th>
				<th data-options="field:'unitcost',width:80,align:'right',halign:'center'"><h title='Unit Cost'>成本单价</h></th>
				<th data-options="field:'attr1',halign:'center'"><h title='Attribute'>物料属性</h></th>
				<th data-options="field:'status',align:'center'"><h title='Status'>状态</h></th>
			</tr>
		</thead>
	</table>

</body>
</html>